if quikling
else
    doctype html(ng-app ='EXPERT_ADMIN')
    head
        title= title
        include stylesheets
        meta(charset="UTF-8")
    nav.navbar.navbar-inverse.navbar-fixed-top(role='navigator')
        .container
            div.navbar-header
                button.navbar-toggle(
                type='button',
                data-toggle='collapse',
                data-targrt='#bs-example-navbar-collapse-1')
                    span.sr-only Toggle navigation
                    span.icon-bar
                    span.icon-bar
                    span.icon-bar
                a.navbar-brand(href='/')
                    Start= title
            div.collapse.navbar-collapse(id='bs-example-navbar-collapse-1')
                ul.nav.navbar-nav
                    li
                        a(href='#/teacher/add') 推荐
                    li
                        a(href='#/teacher/list') 专家列表
                    li
                        a(href='#/chat/') 讨论
                    li
                        a(ui-sref='export') 讨论
                if user
                    include headmenu.jade
                else
                    form.navbar-form.navbar-right(method='POST',action='/users/login')
                        div.form-group
                            input.form-control(
                            type='text',
                            placeholder='用户名',
                            name='userName'
                            )
                        div.form-group
                            input.form-control(
                            style='margin:0 10px'
                            type='password'
                            placeholder='密码',
                            name='password'
                            )
                            button.btn.btn-success(type='submit')  登录
                            a.btn.btn-primary(href='/users/register') 注册

